package com.zxl.service.impl;

import com.zxl.model.MetaColumn;
import com.zxl.service.MetaColumnService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;


@Service
@Slf4j
public class MetaColumnServiceImpl implements MetaColumnService {
    public void update(MetaColumn metaColumn) {

        //更新血缘信息，发送消息更新字段血缘

        //datarelationFeignClient.updateColumnRelation(metaColumn);
        //更新业务数据库的meta_column表信息
        //metaColumnMapper.updateByPrimaryKeySelective(metaColumn);
    }

    public void deleteById(Integer id) {
        // 同步远程数据删除表字段

        // 更新业务库meta_table数据
        //删除表字段的血缘关系
        // datarelationFeignClient.deletedColumnRelation(String.valueOf(id));

    }

}
